Skip to content

Add pre-merge-approval for execute_pre_merge (#1471)#1490

Merged
mgawarkiewicz-intel merged 1 commit into
releases/v0.21.0from
adobrzyn/v0.21.0-port-1471
May 25, 2026
Merged

Add pre-merge-approval for execute_pre_merge (#1471)#1490
mgawarkiewicz-intel merged 1 commit into
releases/v0.21.0from
adobrzyn/v0.21.0-port-1471

Conversation

@adobrzyn
Copy link
Copy Markdown
Collaborator

(cherry picked from commit dc459b8)

Signed-off-by: Bartosz Myrcha <bartosz.myrcha@intel.com>
(cherry picked from commit dc459b8)
Copilot AI review requested due to automatic review settings May 25, 2026 08:07
@adobrzyn adobrzyn requested a deployment to pre-merge-approval May 25, 2026 08:07 — with GitHub Actions Waiting
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a manual approval gate for the execute_pre_merge workflow job by adding a preceding gate job that targets a protected GitHub Environment (pre-merge-approval) and making execute_pre_merge depend on it.

Changes:

  • Added a new gate job that runs in the pre-merge-approval environment.
  • Made execute_pre_merge wait on the gate job via needs: gate.

Comment on lines +21 to +24
runs-on: ubuntu-latest
environment: pre-merge-approval
steps:
- run: echo "Approved"
Comment on lines +20 to +24
gate:
runs-on: ubuntu-latest
environment: pre-merge-approval
steps:
- run: echo "Approved"
@mgawarkiewicz-intel mgawarkiewicz-intel merged commit 530c6cf into releases/v0.21.0 May 25, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants